<div class="form-group">
    <label for="name" class="col-sm-2 control-label">活动名称</label>
    <div class="col-sm-10">
        #@textInput("text","activity.name","name","请输入活动名称...",activity.name??'')
    </div>
</div>
<div class="form-group">
    <label for="desc" class="col-sm-2 control-label">封面图片</label>
    <div class="col-sm-10">
        #@webUploaderBtn(activity,"activity.cover")
    </div>
</div>

<div class="form-group">
    <label for="desc" class="col-sm-2 control-label">封面图片</label>
    <div class="col-sm-10">
        #@webUploaderMutiBtn(activity.imgs()??'',"activity.imgs")
    </div>
</div>

<div class="form-group">
    <label for="desc" class="col-sm-2 control-label">活动描述</label>
    <div class="col-sm-10">
        #@textAreaInput("activity.desc","desc","请输入活动描述...",activity.desc??'')
    </div>
</div>
<div class="form-group">
    <label for="price" class="col-sm-2 control-label">活动价格</label>
    <div class="col-sm-10">
        #@textInput("text","price","price","请输入活动价格...",activity.price??'')
    </div>
</div>
<div class="form-group">
    <label for="start_time" class="col-sm-2 control-label">开始时间</label>
    <div class="col-sm-10">
        #@textInput("text","activity.start_time","start_time","请输入开始时间...",activity.start_time??'')
    </div>
</div>
<div class="form-group">
    <label for="end_time" class="col-sm-2 control-label">结束时间</label>
    <div class="col-sm-10">
        #@textInput("text","activity.end_time","end_time","请输入结束时间...",activity.end_time??'')
    </div>
</div>

<div class="form-group">
    <label for="address" class="col-sm-2 control-label">集合地点</label>
    <div class="col-sm-10">
        #@textInput("text","activity.address","address","请输入集合地点...",activity.address??'')
    </div>
</div>

<div class="form-group">
    <label for="status" class="col-sm-2 control-label">活动状态</label>
    <div class="col-sm-10">
        <select class="form-control" name="activity.status" id="status">
            <option value="0" #if(activity??&&activity.status==0)selected#end>接受报名</option>
            <option value="1" #if(activity??&&activity.status==1)selected#end>正在进行</option>
            <option value="2" #if(activity??&&activity.status==2)selected#end>活动取消</option>
            <option value="3" #if(activity??&&activity.status==3)selected#end>活动结束</option>
        </select>
    </div>
</div>
<div class="form-group">
    <label for="contactor" class="col-sm-2 control-label">联系人</label>
    <div class="col-sm-10">
        #@textInput("text","activity.contactor","contactor","请输入联系人...",activity.contactor??'')
    </div>
</div>
<div class="form-group">
    <label for="mobile" class="col-sm-2 control-label">联系电话</label>
    <div class="col-sm-10">
        #@textInput("text","activity.mobile","mobile","请输入联系电话...",activity.mobile??'')
    </div>
</div>
<div class="form-group">
    <label for="content" class="col-sm-2 control-label">活动内容</label>
    <div class="col-sm-10">
        #@kindEditorInput("activity.content",activity.content??'')
    </div>
</div>
<div class="form-group">
    <div class="col-sm-offset-8 col-sm-10">
        <button type="button" id="submitBtn" class="btn btn-primary">点我保存</button>
        <input type="hidden" name="activity.id" value="#(activity.id??'')" id="id">
    </div>
</div>